////////////////////////////////////////////////////////////////////////////////
//  COPYRIGHT (C) 2010 TELECOM DIGITAL MEDIA ("TDMEDIA").
//  ALL RIGHTS RESERVED.
//
//  THIS IS CONFIDENTIAL AND PROPRIETARY INTELLECTUAL PROPERTY OWNED BY AND
//  CREATED ON BEHALF OF TDMEDIA. ANY FORM OF DISTRIBUTION, COPY,
//  MODIFICATION WITHOUT THE WRITTEN CONSENT FROM TDMEDIA IS STRICTLY
//  PROHIBITED.
////////////////////////////////////////////////////////////////////////////////
package cc.telecomdigital.tdstock.model;

public class StockInfo
{
	public final static String	ADAPTER				= "TELETEXT";
	public final static String	STOCKCHISHORTNAME		= "StockChiShortName";
	public final static String	NOMINAL				= "Nominal";
	public final static String	NET					= "Net";
	public final static String	NETPERCENTAGE			= "NetPercentage";
	public final static String	HIGHPRICE				= "HighPrice";
	public final static String	LOWPRICE				= "LowPrice";
	public final static String	STOCKCHINAME			= "StockChiName";
	public final static String	BIDPRICE				= "BidPrice";
	public final static String	OPENPRICE				= "OpenPrice";
	public final static String	ASKPRICE				= "AskPrice";
	public final static String	PREVCLOSEPRICE			= "PrevClosePrice";
	public final static String	SHARETRADED			= "ShareTraded";
	public final static String	TURNOVER				= "Turnover";
	public final static String	YEARLOW				= "YearLow";
	public final static String	YEARHIGH				= "YearHigh";
	public final static String	LOTSIZE				= "LotSize";
	public final static String	CALLPRICE				= "CallPrice";			// 8

	public final static String	ASK_SHARE_1			= "ASK_SHARE_1";
	public final static String	ASK_SHARE_2			= "ASK_SHARE_2";
	public final static String	ASK_SHARE_3			= "ASK_SHARE_3";
	public final static String	ASK_SHARE_4			= "ASK_SHARE_4";
	public final static String	ASK_SHARE_5			= "ASK_SHARE_5";

	public final static String	ASK_QUEUE_1			= "ASK_QUEUE_1";
	public final static String	ASK_QUEUE_2			= "ASK_QUEUE_2";
	public final static String	ASK_QUEUE_3			= "ASK_QUEUE_3";
	public final static String	ASK_QUEUE_4			= "ASK_QUEUE_4";
	public final static String	ASK_QUEUE_5			= "ASK_QUEUE_5";

	public final static String	BID_QUEUE_1			= "BID_QUEUE_1";
	public final static String	BID_QUEUE_2			= "BID_QUEUE_2";
	public final static String	BID_QUEUE_3			= "BID_QUEUE_3";
	public final static String	BID_QUEUE_4			= "BID_QUEUE_4";
	public final static String	BID_QUEUE_5			= "BID_QUEUE_5";

	public final static String	BID_SHARE_1			= "BID_SHARE_1";
	public final static String	BID_SHARE_2			= "BID_SHARE_2";
	public final static String	BID_SHARE_3			= "BID_SHARE_3";
	public final static String	BID_SHARE_4			= "BID_SHARE_4";
	public final static String	BID_SHARE_5			= "BID_SHARE_5";

	public final static String	BROKERQUEUEBIDSPREAD	= "BrokerQueueBidSpread";
	public final static String	BROKERQUEUEASKSPREAD	= "BrokerQueueAskSpread";
	public final static String	BROKERQUEUEBIDSPREADNAME	= "BrokerQueueBidSpreadName";
	public final static String	BROKERQUEUEASKSPREADNAME	= "BrokerQueueAskSpreadName";

	public final static String	PROFITPERSHARE			= "ProfitPerShare";
	public final static String	DIVIDENDPAID			= "DividendPaid";

	public final static String	TRADETICKER1			= "TradeTicker1";
	public final static String	TRADETICKER2			= "TradeTicker2";
	public final static String	TRADETICKER3			= "TradeTicker3";
	public final static String	TRADETICKER4			= "TradeTicker4";
	public final static String	TRADETICKER5			= "TradeTicker5";

	public final static String	BIDSPREAD				= "BidSpread";
	public final static String	ASKSPREAD				= "AskSpread";

	public final static String	SUSPSTOCK				= "SuspStock";
	public final static String	NATURE				= "Nature";
	public final static String	ERRORMESSAGE			= "ErrorMessage";
	public final static String	WARRANTTYPE			= "WarrantType";
	public final static String	DIVYMD				= "DivYmd";
	public final static String	DIVVALUE				= "DivValue";
	public final static String	EXYMD				= "ExYmd";
	public final static String	USTOCK				= "Ustock";
	public final static String	CALLPUT				= "Callput";				//1
	public final static String	EXPDATE				= "ExpDate";				//2
	public final static String	RATIO				= "Ratio";				//3
	public final static String	EXERPRICE				= "ExerPrice";			//4
	public final static String	GEARING				= "Gearing";				//5
	public final static String	PREMIUM				= "Premium";				//6
	public final static String	DAY10AVG				= "Day10Avg";
	public final static String	DAY20AVG				= "Day20Avg";
	public final static String	DAY50AVG				= "Day50Avg";
	public final static String	RSI14				= "Rsi14";
	public final static String	RSI9					= "Rsi9";
	public final static String	PERCENTOUT			= "PercentOut";			//7
	public final static String	CURRENCYCODE			= "CurrencyCode";			//貨幣
	public final static String	DAY100AVG				= "Day100Avg";
	public final static String	DAY200AVG				= "Day200Avg";
	public final static String	DAY250AVG				= "Day250Avg";

	/*public final static String[] MONITOR_FIELDS = {StockChiShortName,Nominal,  Net ,  HighPrice, LowPrice}; */
	public final static String[]	MONITOR_FIELDS			= {
			STOCKCHISHORTNAME, NOMINAL, NET, NETPERCENTAGE };

	/*public  static final String[] SUBSCRIBE_FIELDS =  {  STOCKCHISHORTNAME,NOMINAL,  NET ,  HIGHPRICE, 
	  LOWPRICE, NETPERCENTAGE,  BIDPRICE,  OPENPRICE,
	  ASKPRICE, PREVCLOSEPRICE, SHARETRADED, TURNOVER, 
	  YEARLOW,YEARHIGH,LOTSIZE, CALLPRICE, ASK_SHARE_1,
	  ASK_SHARE_2, ASK_SHARE_3, ASK_SHARE_4,ASK_SHARE_5,
	  ASK_QUEUE_1,ASK_QUEUE_2,ASK_QUEUE_3,ASK_QUEUE_4,ASK_QUEUE_5,
	  BID_QUEUE_1,BID_QUEUE_2,BID_QUEUE_3,BID_QUEUE_4,BID_QUEUE_5,
	  BID_SHARE_1,BID_SHARE_2,BID_SHARE_3,BID_SHARE_4,BID_SHARE_5,
	  BROKERQUEUEBIDSPREAD, BROKERQUEUEASKSPREAD, BROKERQUEUEBIDSPREADNAME, BROKERQUEUEASKSPREADNAME,
	  PROFITPERSHARE, DIVIDENDPAID, TRADETICKER1, TRADETICKER2,TRADETICKER3, TRADETICKER4,TRADETICKER5,
	  BIDSPREAD, ASKSPREAD, DIVYMD,DIVVALUE,
	  EXYMD,EXPDATE, EXERPRICE, DAY10AVG, DAY20AVG, DAY50AVG,
	  RSI14, RSI9, PERCENTOUT, ERRORMESSAGE ,DAY100AVG,  DAY200AVG, DAY250AVG, CALLPUT, RATIO, GEARING, PREMIUM, };
	}*/

	public static final String[]	SUBSCRIBE_FIELDS		= {
			STOCKCHISHORTNAME, NOMINAL, NET, HIGHPRICE, LOWPRICE,
			NETPERCENTAGE, BIDPRICE, OPENPRICE, ASKPRICE, PREVCLOSEPRICE,
			SHARETRADED, TURNOVER, YEARLOW, YEARHIGH, LOTSIZE, CALLPRICE,
			ASK_SHARE_1, ASK_SHARE_2, ASK_SHARE_3, ASK_SHARE_4, ASK_SHARE_5,
			ASK_QUEUE_1, ASK_QUEUE_2, ASK_QUEUE_3, ASK_QUEUE_4, ASK_QUEUE_5,
			BID_QUEUE_1, BID_QUEUE_2, BID_QUEUE_3, BID_QUEUE_4, BID_QUEUE_5,
			BID_SHARE_1, BID_SHARE_2, BID_SHARE_3, BID_SHARE_4, BID_SHARE_5,
			BROKERQUEUEBIDSPREAD, BROKERQUEUEASKSPREAD,
			BROKERQUEUEBIDSPREADNAME, BROKERQUEUEASKSPREADNAME,
			PROFITPERSHARE, DIVIDENDPAID, TRADETICKER1, TRADETICKER2,
			TRADETICKER3, TRADETICKER4, TRADETICKER5, BIDSPREAD, ASKSPREAD,
			DIVYMD, DIVVALUE, EXYMD, EXPDATE, EXERPRICE, DAY10AVG, DAY20AVG,
			DAY50AVG, RSI14, RSI9, PERCENTOUT, ERRORMESSAGE, DAY100AVG,
			DAY200AVG, DAY250AVG, CALLPUT, RATIO, GEARING, PREMIUM, NATURE,
			WARRANTTYPE, CURRENCYCODE, SUSPSTOCK		};
}
